package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.HotRes;
import sz.szsmk.citizencard.model.network.bean.response.RecommendRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/4 19:59
 * description:
 */
public interface ISearchHotContact {

    interface ISearchHotPresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {
        void getHot();

        void getRecom(String key);
    }

    interface ISearchHotView extends IBaseContact.IBaseView {

        void getHotFail(HotRes response);

        void getHotSucc(HotRes response);

        void getRecomSucc(RecommendRes response);

        void getRecomFail(RecommendRes response);
    }

}
